package com.hospital.managing.information.system.service.Impl;

import com.hospital.managing.information.system.model.Department;
import com.hospital.managing.information.system.service.IDepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DepartmentServiceImpl implements IDepartmentService {
    @Autowired
    private IDepartmentService iDepartmentService;
    @Override
    public List<Department> selectDepartment() {
        return iDepartmentService.selectDepartment();
    }
}
